<!doctype html>
<html lang="zh-CN" th:fragment="layout (title, link, script, content, current)" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title th:replace="${title}">标题</title>

    <!-- Bootstrap -->
    <link href="/common/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <!--BootstrapTable-->
    <link rel="stylesheet" href="/common/bootstrap/css/bootstrap-table.min.css">
    <link href="/common/summernote/summernote.min.css" rel="stylesheet">
    <link type="text/css" rel="stylesheet" th:href="@{/common/jsMind/style/jsmind.css}"/>
    <link href="/custom/css/admin-style.css" rel="stylesheet">
    <link href="/custom/css/style.css" rel="stylesheet">
    <link rel="stylesheet" th:href="@{/common/x-spreadsheet/xspreadsheet.css}">
    <th:block th:replace="${link}"/>

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
    <script src="/common/bootstrap/js/html5shiv.min.js"></script>
    <script src="/common/bootstrap/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<header class="global-header">
<!--        <img src="/custom/img/logo.svg" height="42">-->
    <div class="logo"></div>
    <div>
        <a th:href="@{/setting/list}"><span class="glyphicon glyphicon-cog"
                                            th:classappend="${current}=='setting'?'current'" aria-hidden="true"></span></a>
    </div>
    <!--<h1>办公系统</h1>-->
    <!--<div class="dropdown">
        <span class="dropdown-toggle" type="button" id="dropdownMenu1"
           data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
            <span class="user"><span th:text="${lu}?${lu.name}:_">虞书欣</span><span class="caret"></span></span>
        </span>
        <ul class="dropdown-menu dropdown-menu-right fyl-dropdown-menu" aria-labelledby="dropdownMenu1">
            <li><a href="/">刷题列表</a></li>
            <li><a href="/admin/user/update/info">修改信息</a></li>
            <li><a href="/admin/user/update/password">修改密码</a></li>
            <li><a href="/logout">退出</a></li>
        </ul>
    </div>-->
</header>
<nav class="side-menu">
    <ul class="list-unstyled">
        <li><a href="/backlog/list" th:classappend="${current}=='backlog'?'current'">待办事项</a></li>
        <li><a href="/backlog/finish/list" th:classappend="${current}=='backlogFinish'?'current'">完成事项</a></li>
        <li><a href="/quickEntry/list" th:classappend="${current}=='quickEntry'?'current'">快捷入口</a></li>
        <li><a href="/note/save" th:classappend="${current}=='note'?'current'">我的随笔</a></li>
        <li><a href="/analyse/list" th:classappend="${current}=='analyse'?'current'">思维导图</a></li>
        <li><a href="/excelDoc/list" th:classappend="${current}=='excelDoc'?'current'">Excel文档</a></li>
        <li><a href="/project/list" th:classappend="${current}=='project'?'current'">项目管理</a></li>
        <li><a href="/dailyPaper/list" th:classappend="${current}=='dailyPaper'?'current'">日报管理</a></li>
        <li><a href="/weekly/list" th:classappend="${current}=='weekly'?'current'">周报管理</a></li>
        <li><a href="/docLink/list" th:classappend="${current}=='docLink'?'current'">文档链接</a></li>
        <li><a href="/reimburse/list" th:classappend="${current}=='reimburse'?'current'">报销管理</a></li>
    </ul>
</nav>
<div class="page-container">
    <th:block th:replace="${content}"></th:block>
</div>

<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="/common/bootstrap/js/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="/common/bootstrap/js/bootstrap.min.js"></script>
<!--BootstrapTable-->
<script src="/common/bootstrap/js/bootstrap-table.min.js"></script>
<script src="/common/bootstrap/js/bootstrap-table-zh-CN.min.js"></script>
<script src="/common/summernote/summernote.min.js"></script>
<script src="/common/summernote/lang/summernote-zh-CN.min.js"></script>
<script src="/common/layer/layer.js"></script>
<script src="/common/laydate/laydate.js"></script>
<script type="text/javascript" th:src="@{/common/jsMind/js/jsmind.js}"></script>
<script type="text/javascript" th:src="@{/common/jsMind/js/jsmind.draggable.js}"></script>
<script type="text/javascript" th:src="@{/common/jsMind/js/jsmind.screenshot.js}"></script>
<script src="/common/md5.js"></script>
<script src="/custom/js/common.js"></script>
<script src="/custom/js/admin-common.js"></script>
<script src="/custom/js/session-storage.js"></script>
<script src="/custom/js/fyl-mind.js"></script>
<script th:src="@{/custom/js/local-storage.js}"></script>
<script th:src="@{/common/moment.js}"></script>
<script th:src="@{/common/clipboard.min.js}"></script>
<script th:src="@{/common/x-spreadsheet/xspreadsheet.js}"></script>
<script th:src="@{/common/x-spreadsheet/locale/zh-cn.js}"></script>
<th:block th:replace="${script}"/>
</body>
</html>